<?php
/*
* Author: Nguyen Hai Nam
* Module: AboutUsModule
* Desc	: Introduce pick.vn and sidle pic
* Date	: 12/12/2011
*/
class ContactUsModule extends Pick_Core_Module{
	function ContactUsModule(){
		parent::Pick_Core_Module();
		# Languages
		$languages = new Pick_Core_Languages();
		$objectLanguages = "";
		$objectLanguages = $languages->getObjects(1, 'status = 1', array('position'=>'ASC'), '');
		if($objectLanguages){
			$objectLanguages = $objectLanguages['data'];	
		}#endif
		$this->template->assign("objectLanguages", $objectLanguages);
	}
	public function getContent(){

		$statics = new Pick_Dao_Statics();
		$slug = $this->request->get('slug', 'corporate-profile');
		if($slug){
			
			$objStatic = $statics->getObjectFromSlug($slug);
			$this->template->assign('objStatic', $objStatic);
			
		}
		$this->template->assign('slug', $slug);
	}
}